﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Polaris.Domain.Model.Entity.Email
{
    /// <summary>
    /// 邮件配置
    /// </summary>
    public class EmailOptions
    {
        public bool DisableOAuth { get; set; } = true;

        /// <summary>
        /// 发送人
        /// </summary>
        public string DisplayName { get; set; } = "admin";

        /// <summary>
        /// 邮件主机地址
        /// </summary>
        public string Host { get; set; } = "smtp.qq.com"; // 邮件主机地址

        /// <summary>
        /// 秘钥
        /// </summary>
        public string Password { get; set; } = "yseautmdmytxbjbg";

        /// <summary>
        /// 端口
        /// </summary>
        public int Port { get; set; } = 465;

        /// <summary>
        /// 账号
        /// </summary>
        public string UserName { get; set; } = "256260842@qq.com";

        /// <summary>
        /// 休眠时间
        /// </summary>
        public int SleepInterval { get; set; } = 3000;
    }
}
